package com.wmyg.tracker.bean;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.io.Serializable;

@Data
public class QueryInfo implements Serializable {

    private static final long serialVersionUID = -5809782578272943999L;

    @JSONField(name = "address_info")
    private Address addressInfo;

    @JSONField(name = "query_time")
    private String queryTime;

    @JSONField(name = "be_queried_times")
    private int beQueriedTimes;

    @JSONField(name = "user_agent")
    private String userAgent;

    @JSONField(name = "app_user_id")
    private String appUserId ;

    public QueryInfo(Address addressInfo, String queryTime, int beQueriedTimes, String userAgent, String appUserId) {
        this.addressInfo = addressInfo;
        this.queryTime = queryTime;
        this.beQueriedTimes = beQueriedTimes;
        this.userAgent = userAgent;
        this.appUserId = appUserId;
    }
}
